package com.umeng.analytics.pro;

public class cd {
    public cd() {

    }

    public static final byte a(byte arg1, int arg2, boolean arg3) {
        return ((byte)cd.a(arg1, arg2, arg3));
    }

    public static final boolean a(byte arg1, int arg2) {
        return cd.a(arg1, arg2);
    }

    public static final int a(int arg1, int arg2, boolean arg3) {
        int v0 = arg3 ? 1 << arg2 | arg1 : cd.b(arg1, arg2);
        return v0;
    }

    public static final int a(byte[] arg1) {
        return cd.a(arg1, 0);
    }

    public static final int a(byte[] arg2, int arg3) {
        return (arg2[arg3] & 255) << 24 | (arg2[arg3 + 1] & 255) << 16 | (arg2[arg3 + 2] & 255) << 8 | arg2[arg3 + 3] & 255;
    }

    public static final long a(long arg2, int arg4, boolean arg5) {
        long v0 = arg5 ? 1 << arg4 | arg2 : cd.b(arg2, arg4);
        return v0;
    }

    public static final short a(short arg1, int arg2, boolean arg3) {
        return ((short)cd.a(arg1, arg2, arg3));
    }

    public static final void a(int arg1, byte[] arg2) {
        cd.a(arg1, arg2, 0);
    }

    public static final void a(int arg2, byte[] arg3, int arg4) {
        arg3[arg4] = ((byte)(arg2 >> 24 & 255));
        arg3[arg4 + 1] = ((byte)(arg2 >> 16 & 255));
        arg3[arg4 + 2] = ((byte)(arg2 >> 8 & 255));
        arg3[arg4 + 3] = ((byte)(arg2 & 255));
    }

    public static final boolean a(int arg2, int arg3) {
        boolean v0 = true;
        if((1 << arg3 & arg2) == 0) {
            v0 = false;
        }

        return v0;
    }

    public static final boolean a(long arg4, int arg6) {
        boolean v0 = (1 << arg6 & arg4) != 0 ? true : false;
        return v0;
    }

    public static final boolean a(short arg1, int arg2) {
        return cd.a(arg1, arg2);
    }

    public static final byte b(byte arg1, int arg2) {
        return ((byte)cd.b(arg1, arg2));
    }

    public static final int b(int arg1, int arg2) {
        return (1 << arg2 ^ -1) & arg1;
    }

    public static final long b(long arg4, int arg6) {
        return (1 << arg6 ^ -1) & arg4;
    }

    public static final short b(short arg1, int arg2) {
        return ((short)cd.b(arg1, arg2));
    }
}

